package com.songlanyun.modules.protocolconfig.modle.dto;

import java.util.Date;

import javax.validation.constraints.NotBlank;

import com.songlanyun.common.drive.ValueObject;

import lombok.Data;

/**
 * 协议管理
 *
 * @author lijiahe 2022-08-05
 */
@Data
public class ProtocolConfigDTO implements ValueObject {
    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * service-agreement服务协议 privacy-agreement隐私协议 claiming-rules申领规则 about-us关于我们 consumption-to-point 贡献值转积分协议
     */
    @NotBlank(message = "协议类型不能为空")
    private String markCode;
    /**
     * 内容
     */
    private String content;

    private Long createBy;
    private Date createTime;
    private Long updateBy;
    private Date updateTime;
}
